﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Kernel;

namespace SppdProjectHelper
{
    public partial class pad_main : UserControlPadContainer
    {
        public pad_main()
            :base()
        {
            InitializeComponent();
        }

        public Project Project { get; set; }

        public void OnCreate()
        {
            /*只有在触发OnCreate()方法的时候，才真正开始显示界面。*/
            /*显示第一个界面*/
            pad_mng sim = new pad_mng(this);
            sim.Dock = DockStyle.Fill;
            sim.Project = Project;
            base.ShowNewPad(sim);
        }
    }
}
